package com.qf.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

@Data
public class DeviceGather {
    private int id;
    private int deviceId; //采集设备id
    private String deviceSn;//设备唯一序列号
    private String deviceName;//设备名称
    private String deviceType;//传感器类型
    private  Float basicData;//采集的数据
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date gatherTime;//采集时间
    private Date updateTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    private Device device;
    private DeviceType type;
}
